public class TestaClasses{
	public static void main( String[] args ){
	
			Pet[] listaPets = new Pet[4];
			listaPets[ 0 ] = new Dog();
			listaPets[ 1 ] = new Cat();
			listaPets[ 2 ] = new Cat();
			listaPets[ 3 ] = new RoboDog();

			
			for ( int i = 0; i < listaPets.length; i++ ){
				listaPets[ i ].brincar();
				listaPets[ i ].serAmigavel();
				
				
				
				
			}
		
	}
	
	
	
	
}